#import "OliveBrightenCell.h"


@implementation OliveBrightenCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setNostalgia:(OliveBrightenModel *)nostalgia {
	_nostalgia = nostalgia;

	//: 配置cell的UI





}
- (UIView *)embarkReverieUnderwaterView {
	if (!_embarkReverieUnderwaterView) {
	
        _embarkReverieUnderwaterView = [[UIView alloc] init];
        _embarkReverieUnderwaterView.size = CGSizeMake(148, 158);
        _embarkReverieUnderwaterView.left = 20;
        _embarkReverieUnderwaterView.top = 12;
	}
	return _embarkReverieUnderwaterView;
}

//: self.velvetPictureBtn 的点击事件
- (void)action_4 {}

- (void)questFlexibilityInitUIKit {

    //: 描述_0
    self.elevateZealYonderView = [[UIView alloc] initWithFrame:CGRectZero];
    self.elevateZealYonderView.size = CGSizeMake(98, 77);
    self.elevateZealYonderView.left = 31;
    self.elevateZealYonderView.top = 7;
    [self.contentView addSubview:self.elevateZealYonderView];


    //: 描述_1
    UIImageView *swoopKingdom = [UIImageView new];
    swoopKingdom.contentMode = UIViewContentModeScaleAspectFill;
    swoopKingdom.clipsToBounds = YES;
    swoopKingdom.layer.cornerRadius = 16;
    swoopKingdom.layer.masksToBounds = YES;
    swoopKingdom.frame = CGRectMake(25, 40, 64, 94);
    UIImage *tonicQuestIlluminate = [UIImage imageNamed:@"images/image_1.png"];
    if (tonicQuestIlluminate) {
	    swoopKingdom.image = tonicQuestIlluminate;
    }
    self.cascadeImageView = swoopKingdom;
    [self.contentView addSubview:swoopKingdom];


    //: 描述_2
    self.nostalgicXylophoneWondermentImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
    self.nostalgicXylophoneWondermentImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.nostalgicXylophoneWondermentImageView.clipsToBounds = YES;
    self.nostalgicXylophoneWondermentImageView.layer.cornerRadius = 10;
    self.nostalgicXylophoneWondermentImageView.layer.masksToBounds = YES;
    UIImage *enigmaKeepsake = [UIImage imageNamed:@"images/image_2.png"];
    if (enigmaKeepsake) {
	    self.nostalgicXylophoneWondermentImageView.image = enigmaKeepsake;
    }
    [self.contentView addSubview:self.nostalgicXylophoneWondermentImageView];
	[self.nostalgicXylophoneWondermentImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(104);
		make.height.mas_equalTo(107);
		make.top.equalTo(@(16));
	}];

	//: 描述_3
	[self.contentView addSubview:self.embarkReverieUnderwaterView];


    //: 描述_4
    self.velvetPictureBtn = [[UIButton alloc] initWithFrame:CGRectZero];
    self.velvetPictureBtn.size = CGSizeMake(114, 124);
    self.velvetPictureBtn.left = 5;
    self.velvetPictureBtn.top = 29;
    UIImage *unityFreedomHopeful = [UIImage imageNamed:@"images/icon_4.png"];
    if (unityFreedomHopeful) {
	    [self.velvetPictureBtn setImage:unityFreedomHopeful forState:UIControlStateNormal];
    }
    [self.velvetPictureBtn setTitle:@"button_4" forState:UIControlStateNormal];
    [self.velvetPictureBtn setTitle:@"button_selected_4" forState:UIControlStateSelected];
    [self.velvetPictureBtn setTitleColor:[UIColor colorWithRed:39/255.0 green:133/255.0 blue:130/255.0 alpha:0.7] forState:UIControlStateNormal];
    [self.velvetPictureBtn setTitleColor:[UIColor colorWithRed:3/255.0 green:43/255.0 blue:220/255.0 alpha:0.8] forState:UIControlStateSelected];
    [self.velvetPictureBtn addTarget:self action:@selector(action_4) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.velvetPictureBtn];


    //: 描述_5
    self.yonderRippleUnwindView = [[UIView alloc] initWithFrame:CGRectZero];
    self.yonderRippleUnwindView.frame = CGRectMake(12, 9, 163, 72);
    [self.contentView addSubview:self.yonderRippleUnwindView];
}


@end